package com.cn.ssm.service.impl;

import com.cn.ssm.dao.BureauInfoMapper;
import com.cn.ssm.dao.RoleInfoMapper;
import com.cn.ssm.model.BureauInfo;
import com.cn.ssm.model.RoleInfo;
import com.cn.ssm.service.BureauInfoService;
import com.cn.ssm.service.RoleInfoService;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import javax.annotation.Resource;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

@Service
@Transactional
public class RoleInfoServiceImpl implements RoleInfoService {

	@Resource
	public RoleInfoMapper roleInfoMapper;

	@Override
	public List<RoleInfo> selectBycode(String rolecode) {
		return roleInfoMapper.selectBycode(rolecode);
	}
}
